* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
}
.exam {
  width: 700px;
  margin: 0 auto;
  border: 1px solid #ccc;
}
.header {
  background: rgb(35, 44, 49);
  height: 50px;
  display: flex;
}
.count-down {
  width: 120px;
  border-left: 1px solid red;
  color: #fff;
  line-height: 50px;
}
.progress {
  flex: 1;
  display: flex;
  padding: 0 20px;
  align-items: center;
}
.line {
  width: 300px;
  height: 20px;
  background: #fff;
  border-radius: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
.line span {
  position: relative;
  z-index: 1;
}
.line b {
  background: #609E53;
  position: absolute;
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  transition: width 0.2s linear;
}
.progress p {
  color: #fff;
  margin-left: 20px;
}
.title {
  height: 50px;
  line-height: 50px;
  padding-left: 50px;
}
.question {
  border-top: 1px solid #ccc;
  padding: 15px;
}
.question h3 {
  line-height: 40px;
}
.question ul li {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  position: relative;
  width: 100%;
  height: 40px;
  padding-left: 20px;
  line-height: 40px;
}
.question ul li label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding-left: 50px;
}
.question-btm {
  display: flex;
  justify-content: space-between;
}
.card {
  padding: 20px;
  border-top: 1px dashed #ccc;
}
.card .pages button {
  padding: 5px 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  background: #eee;
  border: none;
}

.card .pages button.border {
  border: 1px solid #ccc;
}
.card .pages button.checked {
  background: #999;
}
.card .pages button:hover, .card .pages button.active-btn {
  background: #59B59C;
}
.toggle {
  margin-bottom: 20px;
  cursor: pointer;
  color: #dce4ec;
}
.toggle.close {
  color: #000;
}
.toggle.close:hover {
  color: #59B59C;
}
.pages {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s linear;
}